home *** CD-ROM | disk | FTP | other *** search
/ Champak 114 / Vol 114.iso / games / ophel001.swf / scripts / frame_1098 / DoAction.as
Encoding:
Text File  |  2010-08-12  |  678 b   |  39 lines

  1. if(eval("/Variables:Fontaine") == false)
  2. {
  3.    set("/Variables:Fontaine",true);
  4.    tellTarget(ClipVoix)
  5.    {
  6.       gotoAndStop("Sc02Prescott_Gregor");
  7.       play();
  8.    }
  9. }
  10. if(eval("/Variables:PuzzleFontaineOk") == false)
  11. {
  12.    tellTarget(CacheStatue)
  13.    {
  14.       gotoAndStop(eval("/Variables:PosRoueHaut"));
  15.    }
  16.    tellTarget(RoueBas)
  17.    {
  18.       gotoAndStop(eval("/Variables:PosRoueBas"));
  19.    }
  20. }
  21. else
  22. {
  23.    tellTarget(CacheStatue)
  24.    {
  25.       gotoAndStop("Stop");
  26.    }
  27.    tellTarget(RoueBas)
  28.    {
  29.       gotoAndStop("Stop");
  30.    }
  31. }
  32. if(eval("/Variables:PuzzleFontaineOK") == true)
  33. {
  34.    tellTarget(Escalier)
  35.    {
  36.       gotoAndStop("Fin");
  37.    }
  38. }
  39.